setVideoStreamStyle

abstract fun setVideoStreamStyle(videoStreamStyle: VideoStreamStyle)

Sets the style for attaching video participants. This will change how the video is rendered within the provided view while maintaining the aspect ratio. Setting the mode will only affect views attached after the default is set. Supported values are VideoStreamStyle.FIT_TO_VIEW and VideoStreamStyle.SCALE_AND_CROP.